package com.ruoyi.leave.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.mapper.MpBaseMapper;
import com.ruoyi.leave.domain.LeaveApply;
import com.ruoyi.leave.domain.vo.LeaveCount;
import org.apache.ibatis.annotations.Mapper;

/**
 * 请假申请Mapper接口
 * 
 * @author ruoyi
 * @date 2024-09-24
 */
@Mapper
public interface LeaveApplyMapper extends MpBaseMapper<LeaveApply>, BaseMapper<LeaveApply> {
    /**
     * 查询请假申请列表
     *
     * @param leaveApply 请假申请
     * @return 请假申请集合
     */
    public List<LeaveApply> selectLeaveApplyList(LeaveApply leaveApply);


    public List<LeaveApply> listView(LeaveApply leaveApply);

    public List<LeaveCount> listCount(LeaveApply leaveApply);

}
